package com.gupt.reggie.service;/*
@author name
@data 2023/4/17-18:16
*/


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gupt.reggie.common.R;
import com.gupt.reggie.entity.Employee;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

public interface EmployeeService extends IService<Employee> {

    /**
     * 用户登录
     * @param request
     * @param employee
     * @return
     */
    Employee login(HttpServletRequest request, @RequestBody Employee employee);


    Page page(int page, int pageSize, String name);
}
